/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.fail.test;

import za.ac.cput.converter.test.*;
import za.ac.cput.converter.conf.ConverterConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import za.ac.cput.converter.Converter;
import org.springframework.context.ApplicationContext;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author Jameel
 */
public class ConverterJUnitTest2 {
    
    private static ApplicationContext ctx;
    private static Converter convert;
    
    public ConverterJUnitTest2() {
        ctx = new AnnotationConfigApplicationContext(ConverterConfig.class);
        convert = (Converter) ctx.getBean("conv");
    }

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }
    // TODO add test methods here.
    // The methods must be annotated with annotation @Test. For example:
    //
    
    @Test
    public void convert() {        
        Assert.fail("30.0, convert.convert(500000.0), 0.0");
    }
}
